@import url("normalize.css");

body{
	background: url("../images/back.jpg") no-repeat scroll 0 0 / 100% auto #ff6543;
	padding-top: 45.6%;
	position: relative;
	font-size: 1rem;
	font-family: "微软雅黑",arial,"宋体",sans-serif;
}

.main{
	position: relative;
}
.redEnvelope{
	position: relative;
	padding-top :40%;
}
.moneyWrapper{
	position: absolute;
	background: url("../images/money.jpg") no-repeat;
	background-size: 100%;
	width:72.5%;
	left: 13.75%;	
	height: 60%;
	top:0;
}
.moneyWrapper p{
	position: absolute;
	left: 20%;
	top: 16%;
	width: 5.5%;
	color: #b87b00;
}
#money{
	position: absolute;
	bottom: 43%;
	width: 20.8%;
	left: 48.4%;
	font-size: 3rem;
	color: #e02900;
	line-height: 1em;
}
.moneyWrapper em{
	position: absolute;
	bottom: 45%;
	width:6.3%;
	left: 74%;
	color: #e02900;
	font-style: normal;
}

.redEnvelope form,
.ruleLinkWrapper{
	width: 61%;
	margin: 0 auto;
}
.ruleLinkWrapper {
	text-align: right;
	padding-top: 15%; 
}
.ruleLinkWrapper a{
	color: #701602;
	text-decoration: none;
}
.redEnvelope input{
	width: 100%;
	display: block;
	box-sizing:border-box;
	border-radius:0.5rem; 
	padding: 4% 5%;
	font-family: "微软雅黑",arial,"宋体",sans-serif;
	outline: none;
	font-size:16px;
}

#hasPhone{
	dispaly:none;
	text-align:center;
	padding:1.1rem 0;
	color:#ffcf49;
}
#phoneNum{
	text-align:left;
	font-size:1.5rem;
}
#hasPhone a{
	text-decoration:none;
	padding-left:0.6rem;
	font-size:.8rem;
	color:#ccc;
}
#phoneText{
	border: 0.2rem solid #c30600;
	margin-bottom: 12%;
}
#receiveBtn{
	box-shadow: 0 0.3rem 0 #b80b00;
	border: none;
}
.phone{
	text-align: center;
	background: #c30600;
	width: 58%;
	border-radius: 0.4rem;
	color: #ffdd58;
	padding: 2%;
	margin: 9% auto 6%; 
}
.clickable{
	background: #ffdd58;
	color: #e02900;
}

.disable{
	background: #b5b5b5;
	color: #fff;
}

/*modal reset*/
#pgwModal .pm-container{
	color: #fff;
}
body .pgwModal .pm-title,
body .pgwModal .pm-content{
	border: none;
	background: transparent;
	font-size: 1rem;
}
body .pgwModal .pm-title{
	font-size:1.2rem
}
body .pgwModal .pm-body{
	background: url("../images/modal.jpg") repeat-y;
	background-size: 100%;
	box-shadow: none;
}
.pm-content p{
	margin-bottom:0.9rem;
}


.successPart{
	color:#ffdd58;	
	text-align: center;
}
.result{
	position: absolute;
	width: 70%;
	top: 0;
	left: 16%;
	font-size: 1.2rem;
}
.explain{
	padding: 5% 0;
	width: 100%;
	font-size: 12px;
}
.resultDetail{
	position: absolute;
	top:45%;
	left: 10%;
	text-align: center;
	width: 80%;
	font-size: 0.9rem;
}
.resultWrapper{
	width: 70%;
	margin: 0 auto;
}
.tip{
	font-size: 0.7rem;
}
#seeMoney{
	margin: 22% auto 6%;
	box-shadow: 0 0.3rem 0 #b80b00;
	border: none;
	width: 80%;
	display: block;
	box-sizing: border-box;
	border-radius: 0.4rem;
	padding: 3% 5%;
	font-family: "微软雅黑",arial,"宋体",sans-serif;
}
@media screen and (min-width:320px) and (max-width:400px){
	.phone {
		width: 62%;
	}
}
@media screen and (min-width:400px) and (max-width:560px){
	body{
		font-size:1.3rem;
	}
	#money{
		font-size: 3em;
	}
	#result{
		font-size: 1.8rem;
	}
	.resultDetail{
		font-size: 1.2rem;
	}
	.explain{
		font-size: 15px;
	}
	.ruleLinkWrapper {
	  padding-top: 20%;
	}
	#hasPhone {
	  padding: 1.45rem 0;
	}
}
@media screen and (min-width:560px) and (max-width:780px){
	body{
		font-size:2rem;
	}
	#money{
		font-size: 3em;
	}
	#result{
		font-size: 2.5rem;
	}
	
}
@media screen and (min-width:780px){
	body{
		font-size:3rem;
	}
	#money{
		font-size: 3em;
	}
}